package com.podhradie.net.themperature.android;

import android.content.pm.ActivityInfo;
import android.os.Bundle;
import android.preference.PreferenceActivity;
import android.preference.PreferenceManager;
import android.view.KeyEvent;
import android.widget.EditText;

public class SettingsActivity extends PreferenceActivity {
	 EditText urlField;
	 EditText portFied;

	    @Override
	    public void onCreate(Bundle savedInstanceState) {
	        super.onCreate(savedInstanceState);
	        setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
	        addPreferencesFromResource(R.xml.preferences);
	    }
	    
	    
		@Override
		public boolean onKeyDown(int keyCode, KeyEvent event) {
			return super.onKeyDown(keyCode, event);
		}
}
